﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>

    <environment include="Development">
        <link href="~/twitter-bootstrap/css/bootstrap.css" rel="stylesheet" />
    </environment>
    

    <environment exclude="Development">
        <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
    </environment>
    <script src="~/js/jquery.min.js"></script>
</head>

<body>


    <nav class="navbar navbar-expand-sm bg-dark">
        <ul class="nav-item">
            <li class="nav-item">
                <a asp-controller="home" asp-action="Index">学生列表</a>
            </li>

            <li class="nav-item">
                <a asp-controller="home" asp-action="create">添加学生</a>
            </li>
        </ul>
    </nav>

    <div class="container">



        @RenderBody()
    </div>



    @* 判断是否有Scripts Section *@
    @*@if (IsSectionDefined("Scripts"))
        {
            @RenderSection("Scripts")
        }*@



    @RenderSection("Scripts", false)



</body>
</html>
